/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.testArrays.testArrays.Impl;

import za.ac.cput.testArrays.testArrays.ArrayTesting;

/**
 *
 * @author Administrator
 */
public class ArrayTestingImpl implements ArrayTesting{
    String []arrayOfStrings = new String[2];
    private String name;
    private String surname;
    
    @Override
    public void setName(String n) {
        name = n;
    }

    @Override
    public void setSurname(String s) {
        surname = s;
    }

    @Override
    public String[] getArray() {
        return arrayOfStrings;
    }

    @Override
    public void populateArray() {
        arrayOfStrings[0] = name;
        arrayOfStrings[1] = surname;
    }
    
}
